package com.risems.service.demo.impl;

import com.risems.dao.demo.DemoMapper;
import com.risems.service.demo.DemoService;
import com.risems.domain.demo.Demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: lifeng
 * @Date: 2018/12/15 20:48
 * @Description:
 */
@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoMapper demoMapper;

    public void save(Demo demo) {
        demoMapper.insert(demo);
    }
}
